<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <title>LoginSuccess</title>
</head>
<body>
<#if (Session['username'])??>
    <h2>用户名：${Session.username}</h2>
    <h2>角色：${Session.role}</h2>
<#else>
    <h2>未登录用户，请先登录！</h2>
</#if>
</body>
</html>